<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><?php include template("content","header"); ?>
    <div class="content_top"></div><div class="clear"></div>
    <div class="content_center">
      <div class="info_list r">
      <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"announce\" data=\"op=announce&tag_md5=81c9addcc02d626ccacd0716b2aa56eb&action=lists&siteid=%24siteid&num=1\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$announce_tag = pc_base::load_app_class("announce_tag", "announce");if (method_exists($announce_tag, 'lists')) {$data = $announce_tag->lists(array('siteid'=>$siteid,'limit'=>'1',));}?>
        <?php if($data[0][title] ) { ?>
        <!-- 活动须知 -->
        <div class="h l">
          <span class="l"><?php echo $CATEGORYS['1']['catname'];?></span>
          <span class="r">
            <a href="<?php echo catpos_url(1);?>">更多</a>
            <img src="phpcms/templates/default/statics/imgs/more.gif"></img>
          </span>
        </div>
        <div class="notice">
          <?php echo $data['0']['content'];?>
        </div>
        <?php } else { ?>
        <div class="h l">
          <span class="l"><?php echo $CATEGORYS['1']['catname'];?></span>
          <span class="r">
            <a href="<?php echo catpos_url(1);?>">更多</a>
            <img src="phpcms/templates/default/statics/imgs/more.gif"></img>
          </span>
        </div>
        <div class="notice">
           暂无大赛信息
        </div>
        <?php } ?>
      <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
      </div>
      
      <div class="info_list r">
        <!-- 活动报道 -->
        <div class="h">
          <span class="l"><?php echo $CATEGORYS['2']['catname'];?></span>
          <span class="r">
            <a href="<?php echo catpos_url(2);?>">更多</a>
            <img src="phpcms/templates/default/statics/imgs/more.gif"></img>
          </span>
        </div>
        <div class="list txt_l">
          <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=9b2ea3475053c89ce730189ccf284039&action=lists&catid=2&order=updatetime+DESC&num=5&return=news\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$news = $content_tag->lists(array('catid'=>'2','order'=>'updatetime DESC','limit'=>'5',));}?>
          <ul>
            <?php $n=1;if(is_array($news)) foreach($news AS $val) { ?>
            <li><a href="<?php echo $val['url'];?>"><?php echo str_cut($val[title],36,'');?></a><span><?php echo date('y/m/d', $val['inputtime']);?></span></li>
            <?php $n++;}unset($n); ?>
          </ul>
          <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
        </div>
      </div>
    </div>
    <div class="clear"></div>
    <div class="action_info">
      <ul>
        <li class="wyzx"></li>
        <li class="wytp">
          <a href="<?php echo catpos_url(4);?>"><img src="phpcms/templates/default/statics/imgs/wytp.gif" /></a>
        </li>
        <li class="wybm">
          <a href="<?php echo catpos_url(3);?>"><img src="phpcms/templates/default/statics/imgs/wybm.gif" /></a>
        </li>
      </ul>
    </div>
    <div class="clear"></div>
    <div class="content_bottom"></div>
    <div class="clear"></div><!-- content end-->
<?php include template("content","footer"); ?>